package com.design.patterns.list.command.light;

/**
 * 白炽灯命令接收者
 * @author Wangzhiwen
 */
public class IncandescentLightReceiver implements LightReceiver {
    @Override
    public Object lightReceiverIdentification() {
        return "Incandescent Light";
    }

    @Override
    public void on() {
        System.out.println("Incandescent Light Receiver On");
    }

    @Override
    public void off() {
        System.out.println("Incandescent Light Receiver Off");
    }
}
